package com.guijie.sheji.dao;

import com.guijie.sheji.domain.Login;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;
@Repository
@Component
public interface LoginMapper extends Mapper<Login> {

    @Select("select password from h_user where login_name=#{login_name}")
    String selectPasswordByName(@Param("login_name") String login_name);
}



